package com.zjl.litemall.db.service;

import com.zjl.litemall.db.dao.LitemallRegionMapper;
import com.zjl.litemall.db.domain.LitemallRegion;
import com.zjl.litemall.db.domain.LitemallRegionExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * @author cat
 * @description
 * @date 2022/3/20 下午12:51
 */
@Service
public class LitemallRegionService {
    @Resource
    private LitemallRegionMapper regionMapper;

    public List<LitemallRegion> list() {
        LitemallRegionExample regionExample = new LitemallRegionExample();
        byte b = 4;
        regionExample.or().andTypeNotEqualTo(b);
        return regionMapper.selectByExample(regionExample);
    }
}
